package org.wlgzs.shop.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.wlgzs.shop.bean.PersonAdvice;
import org.wlgzs.shop.bean.PersonAdviceExample;

public interface PersonAdviceMapper {
    long countByExample(PersonAdviceExample example);

    int deleteByExample(PersonAdviceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PersonAdvice record);

    int insertSelective(PersonAdvice record);

    List<PersonAdvice> selectByExample(PersonAdviceExample example);

    PersonAdvice selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PersonAdvice record, @Param("example") PersonAdviceExample example);

    int updateByExample(@Param("record") PersonAdvice record, @Param("example") PersonAdviceExample example);

    int updateByPrimaryKeySelective(PersonAdvice record);

    int updateByPrimaryKey(PersonAdvice record);
}